<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@	taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>查看订单</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" href="/css/modules.css" type="text/css"	media="screen" />
	<link rel="stylesheet" href="/css/modules1.css" type="text/css"	media="screen" />
	<link rel="stylesheet" href="/css/jquery-ui.css" type="text/css"	media="screen" />
	<link rel="stylesheet" href="/css/jquery.wysiwyg.css" type="text/css"	media="screen" />
	<style type="text/css">
		label{
			display:inline;
		}
		.input-small{
			border:none;
			background-color:transparent;
		}
		select{
		border:none;
			background-color:transparent;
		}
	</style>
	<script type='text/javascript' src="/js/jquery-1.4.2.min.js"></script>	
	<script type='text/javascript' src="/js/jquery.js"></script>
	<script type='text/javascript' src="/js/jquery-ui.js"></script>
	<script type='text/javascript' src="/js/jquery.wysiwyg.js"></script>
	<script type='text/javascript' src="/js/custom.js"></script>
  </head>
  
  <body style="background-color:transparent">
  
	<div style="padding:10px;">
  		<h2 class="jquery_tab_title">查看订单<font style="color:red;font-size:12px;">(${order.status })</font>
  			<span style="float:right;">
  				<input type="text" class="input-medium" value="请输入订单编号" />
  				<input type="button" value="Search" class="button" />
  				<a href="##">订单查询</a>
  			</span>
  		</h2>
  		<div>
  		
  		
  		<span style="padding:10px;display:block;float:left;">
  			<label>收货人:<s:iterator value="order">
  				${outlets.name }
  		</s:iterator></label>
  		</span>
  		<span style="padding:10px;display:block;float:left;">
  			<label>订单编号:${code }</label>
  		</span>
  		<span style="padding:10px;display:block;float:left">
  			<label>订单创建时间:<s:date name="date" format="yyyy-MM-dd HH:mm" /></label>
  		</span>
  		<div style="clear:both"></div>
  		</div>
  		
  	</div>
  	<!--  Goods_list  -->
  	<div>
  	
  		<table  width="100%" cellspacing="0" cellpadding="0">
    		<tr>
    			<th class="th_first">货物名称:</th>
    			<th>编号:</th>
    			<th>数量:</th>
    			<th>单位:</th>
    			<th>单价:</th>
    			<th>金额:</th>
    			<th>备注:</th>
    		</tr>
    		<s:iterator value="recordList">
    		<tr>
    			<td class="td_first">${product.name }&nbsp;</td>
    			<td>${product.code }&nbsp;</td>
    			<td>${quantity }&nbsp;</td>
    			<td>${product.unit }&nbsp;</td>
    			<td>${price }&nbsp;</td>
    			<td>${amount }&nbsp;</td>
    			<td>${remark }&nbsp;</td>
    		</tr>
    		</s:iterator>
		</table>  	
		
		<div>
			<s:if test="order.status=='未发货'">
				<a href="OrderAction!checkout.action?orderid=${id }">发货</a>
			</s:if>
		</div>
    </div>
  </body>
</html>
